home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Atari Mega Archive 1
/
Atari Mega Archive - Volume 1.iso
/
mint
/
mint104s.zoo
/
mint.src
/
proto.h
< prev
next >
Wrap
Text File
|
1993-03-08
|
16KB
|
385 lines
/* bios.c */
long ARGS_ON_STACK getmpb P_((void *ptr));
long bconstat P_((int dev));
long bconin P_((int dev));
long bconout P_((int dev, int c));
long ARGS_ON_STACK ubconstat P_((int dev));
long ARGS_ON_STACK ubconin P_((int dev));
long ARGS_ON_STACK ubconout P_((int dev, int c));
long ARGS_ON_STACK rwabs P_((int rwflag, void *buffer, int number, int recno, int dev, long lrecno));
long ARGS_ON_STACK setexc P_((int number, long vector));
long ARGS_ON_STACK tickcal P_((void));
long ARGS_ON_STACK getbpb P_((int dev));
long bcostat P_((int dev));
long ARGS_ON_STACK ubcostat P_((int dev));
long ARGS_ON_STACK mediach P_((int dev));
long ARGS_ON_STACK drvmap P_((void));
long ARGS_ON_STACK kbshift P_((int mode));
long ARGS_ON_STACK bflush P_((void));
void init_bios P_((void));
long ARGS_ON_STACK do_bconin P_((int dev));
int checkkeys P_((void));
void init_vectors P_((void));
void unlink_vectors P_((long start, long end));
/* xbios.c */
long ARGS_ON_STACK supexec P_((Func funcptr, long a1, long a2, long a3, long a4, long a5));
long ARGS_ON_STACK midiws P_((int, const char *));
int mapin P_((int));
long ARGS_ON_STACK uiorec P_((int));
long ARGS_ON_STACK rsconf P_((int, int, int, int, int, int));
long ARGS_ON_STACK bconmap P_((int));
long ARGS_ON_STACK cursconf P_((int, int));
void init_xbios P_((void));
/* console.c */
long file_instat P_((FILEPTR *f));
long file_outstat P_((FILEPTR *f));
long file_getchar P_((FILEPTR *f, int mode));
long file_putchar P_((FILEPTR *f, long c, int mode));
long ARGS_ON_STACK c_conin P_((void));
long ARGS_ON_STACK c_conout P_((int c));
long ARGS_ON_STACK c_auxin P_((void));
long ARGS_ON_STACK c_auxout P_((int c));
long ARGS_ON_STACK c_prnout P_((int c));
long ARGS_ON_STACK c_rawio P_((int c));
long ARGS_ON_STACK c_rawcin P_((void));
long ARGS_ON_STACK c_necin P_((void));
long ARGS_ON_STACK c_conws P_((const char *str));
long ARGS_ON_STACK c_conrs P_((char *buf));
long ARGS_ON_STACK c_conis P_((void));
long ARGS_ON_STACK c_conos P_((void));
long ARGS_ON_STACK c_prnos P_((void));
long ARGS_ON_STACK c_auxis P_((void));
long ARGS_ON_STACK c_auxos P_((void));
long ARGS_ON_STACK f_instat P_((int fh));
long ARGS_ON_STACK f_outstat P_((int fh));
long ARGS_ON_STACK f_getchar P_((int fh, int mode));
long ARGS_ON_STACK f_putchar P_((int fh, long c, int mode));
/* dos.c */
long ARGS_ON_STACK s_version P_((void));
long ARGS_ON_STACK s_uper P_((long new_ssp));
long ARGS_ON_STACK t_getdate P_((void));
long ARGS_ON_STACK t_setdate P_((int date));
long ARGS_ON_STACK t_gettime P_((void));
long ARGS_ON_STACK t_settime P_((int time));
long ARGS_ON_STACK s_yield P_((void));
long ARGS_ON_STACK p_renice P_((int pid, int delta));
long ARGS_ON_STACK p_nice P_((int delta));
long ARGS_ON_STACK p_getpid P_((void));
long ARGS_ON_STACK p_getppid P_((void));
long ARGS_ON_STACK p_getpgrp P_((void));
long ARGS_ON_STACK p_setpgrp P_((int pid, int newgrp));
long ARGS_ON_STACK p_getuid P_((void));
long ARGS_ON_STACK p_getgid P_((void));
long ARGS_ON_STACK p_geteuid P_((void));
long ARGS_ON_STACK p_getegid P_((void));
long ARGS_ON_STACK p_setuid P_((int id));
long ARGS_ON_STACK p_setgid P_((int id));
long ARGS_ON_STACK p_usrval P_((long arg));
long ARGS_ON_STACK p_umask P_((unsigned mode));
long ARGS_ON_STACK p_domain P_((int arg));
long ARGS_ON_STACK p_rusage P_((long *r));
long ARGS_ON_STACK p_setlimit P_((int i, long v));
long ARGS_ON_STACK p_pause P_((void));
long ARGS_ON_STACK t_alarm P_((long x));
long ARGS_ON_STACK s_ysconf P_((int which));
long ARGS_ON_STACK s_alert P_((char *msg));
void init_dos P_((void));
/* dosdir.c */
long ARGS_ON_STACK d_setdrv P_((int d));
long ARGS_ON_STACK d_getdrv P_((void));
long ARGS_ON_STACK d_free P_((long *buf, int d));
long ARGS_ON_STACK d_create P_((const char *path));
long ARGS_ON_STACK d_delete P_((const char *path));
long ARGS_ON_STACK d_setpath P_((const char *path));
long ARGS_ON_STACK d_getpath P_((char *path, int drv));
long ARGS_ON_STACK d_getcwd P_((char *path, int drv, int size));
long ARGS_ON_STACK f_setdta P_((DTABUF *dta));
long ARGS_ON_STACK f_getdta P_((void));
long ARGS_ON_STACK f_sfirst P_((const char *path, int attrib));
long ARGS_ON_STACK f_snext P_((void));
long ARGS_ON_STACK f_attrib P_((const char *name, int rwflag, int attr));
long ARGS_ON_STACK f_delete P_((const char *name));
long ARGS_ON_STACK f_rename P_((int junk, const char *old, const char *new));
long ARGS_ON_STACK d_pathconf P_((const char *name, int which));
long ARGS_ON_STACK d_opendir P_((const char *path, int flags));
long ARGS_ON_STACK d_readdir P_((int len, long handle, char *buf));
long ARGS_ON_STACK d_rewind P_((long handle));
long ARGS_ON_STACK d_closedir P_((long handle));
long ARGS_ON_STACK f_xattr P_((int flag, const char *name, XATTR *xattr));
long ARGS_ON_STACK f_link P_((const char *old, const char *new));
long ARGS_ON_STACK f_symlink P_((const char *old, const char *new));
long ARGS_ON_STACK f_readlink P_((int buflen, char *buf, const char *linkfile));
long ARGS_ON_STACK d_cntl P_((int cmd, const char *name, long arg));
long ARGS_ON_STACK f_chown P_((const char *name, int uid, int gid));
long ARGS_ON_STACK f_chmod P_((const char *name, unsigned mode));
long ARGS_ON_STACK d_lock P_((int mode, int drv));
/* dosfile.c */
FILEPTR * do_open P_((const char *name, int mode, int attr, XATTR *x));
long do_pclose P_((PROC *p, FILEPTR *f));
long do_close P_((FILEPTR *f));
long ARGS_ON_STACK f_open P_((const char *name, int mode));
long ARGS_ON_STACK f_create P_((const char *name, int attrib));
long ARGS_ON_STACK f_close P_((int fh));
long ARGS_ON_STACK f_read P_((int fh, long count, char *buf));
long ARGS_ON_STACK f_write P_((int fh, long count, const char *buf));
long ARGS_ON_STACK f_seek P_((long place, int fh, int how));
long ARGS_ON_STACK f_dup P_((int fh));
long ARGS_ON_STACK f_force P_((int newh, int oldh));
long ARGS_ON_STACK f_datime P_((short *timeptr, int fh, int rwflag));
long ARGS_ON_STACK f_lock P_((int fh, int mode, long start, long length));
long ARGS_ON_STACK f_pipe P_((short *usrh));
long ARGS_ON_STACK f_cntl P_((int fh, long arg, int cmd));
long ARGS_ON_STACK f_select P_((unsigned timeout, long *rfdp, long *wfdp, long *xfdp));
long ARGS_ON_STACK f_midipipe P_((int pid, int in, int out));
/* dosmem.c */
long ARGS_ON_STACK m_addalt P_((long start, long size));
long _do_malloc P_((MMAP map, long size, int mode));
long ARGS_ON_STACK m_xalloc P_((long size, int mode));
long ARGS_ON_STACK m_alloc P_((long size));
long ARGS_ON_STACK m_free P_((virtaddr block));
long ARGS_ON_STACK m_shrink P_((int dummy, virtaddr block, long size));
long ARGS_ON_STACK p_exec P_((int mode, void *ptr1, void *ptr2, void *ptr3));
long terminate P_((int code, int que));
long ARGS_ON_STACK p_term P_((int code));
long ARGS_ON_STACK p_term0 P_((void));
long ARGS_ON_STACK p_termres P_((long save, int code));
long ARGS_ON_STACK p_waitpid P_((int pid, int nohang, long *rusage));
long ARGS_ON_STACK p_wait3 P_((int nohang, long *rusage));
long ARGS_ON_STACK p_wait P_((void));
long ARGS_ON_STACK p_vfork P_((void));
long ARGS_ON_STACK p_fork P_((void));
/* dossig.c */
long ARGS_ON_STACK p_kill P_((int pid, int sig));
long ARGS_ON_STACK p_sigaction P_((int sig, const struct sigaction *act,
struct sigaction *oact));
long ARGS_ON_STACK p_signal P_((int sig, long handler));
long ARGS_ON_STACK p_sigblock P_((ulong mask));
long ARGS_ON_STACK p_sigsetmask P_((ulong mask));
long ARGS_ON_STACK p_sigpending P_((void));
long ARGS_ON_STACK p_sigpause P_((ulong mask));
/* filesys.c */
void init_drive P_((int drv));
void init_filesys P_((void));
void load_filesys P_((void));
void close_filesys P_((void));
void ARGS_ON_STACK changedrv P_((unsigned drv));
int disk_changed P_((int drv));
long relpath2cookie
P_((fcookie *dir, const char *path, char *lastnm, fcookie *res, int depth));
long path2cookie P_((const char *path, char *lastname, fcookie *res));
void release_cookie P_((fcookie *fc));
void dup_cookie P_((fcookie *new, fcookie *old));
FILEPTR *new_fileptr P_((void))